package com.jiawa.train.business.service;

import com.jiawa.train.business.domain.po.TrainCarriage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.req.TrainCarriageQueryReq;
import com.jiawa.train.business.req.TrainCarriageSaveReq;
import com.jiawa.train.business.resp.TrainCarriageQueryResp;
import com.jiawa.train.common.resp.PageResp;

/**
 * <p>
 * 火车车厢 服务类
 * </p>
 *
 * @author hrz
 * @since 2025-09-07
 */
public interface ITrainCarriageService extends IService<TrainCarriage> {

    void saveTrainCarriage(TrainCarriageSaveReq req);

    PageResp<TrainCarriageQueryResp> queryList(TrainCarriageQueryReq req);

    void delete(Long id);
}
